package com.example.understandvideo.mapper;

import com.example.understandvideo.pojo.AsrTask;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
public interface AsrTaskDao {
    int deleteByPrimaryKey(Long id);
    int deleteByPid(Long id);

    int insert(AsrTask record);

    int insertSelective(AsrTask record);

    AsrTask selectByPrimaryKey(Long id);
    AsrTask selectByPid(Long id);

    int updateByPrimaryKeySelective(AsrTask record);

    int updateByPrimaryKey(AsrTask record);
    int updateStatus(AsrTask record);
}